const arr = [1, 2, 3];

const delay = (value) => new Promise(resolve => {
    setTimeout(() => resolve(value), 2000);
});
(async () => {
    for (let item of arr) {
        const value = await delay(item);
        console.log(value);
    }
})();